package entity

import "time"

type RepositoryPool struct {
	Id        int       `json:"id"`
	Identity  string    `json:"identity"`
	Hash      string    `json:"hash"`
	Name      string    `json:"name"`
	Size      int       `json:"size"`
	Location  string    `json:"location"`
	StoreWay  string    `json:"storeWay"`
	Status    int       `json:"status"`
	CreatedAt time.Time `json:"createdAt" time_format:"2006-01-02 15:04:05"`
	UpdatedAt time.Time `json:"updatedAt" time_format:"2006-01-02 15:04:05"`
	DeletedAt time.Time `json:"-"`
}

func (*RepositoryPool) TableName() string {
	return "repository_pool"
}
